package com.example.petshop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("goods")
public class Goods
{
    @TableId
    private Integer goodsId;  // 商品ID

    private String goodsName;  // 商品名称

    private String images;  // 商品图片

    private String description;  // 详细描述

    private String price;  // 价格

    private Integer shopId;  //所属商店

    private Integer state;

    private String goodsCount; //商品的数量

    private String goodsCategory; //商品的类别

    private String sales;
    private String weekSales;
    private String monthSales;
    private String yearSales;
}
